hipreme_engine ~master (2025-09-27T13:37:43Z)
Dub
Repo
isFunction
hip
util
reflection
Copy pasted from std.traits for not importing too many things
template
isFunction (
X
...
)
if
(
X
.
length
== 1
) {
static if
(
is(typeof(&X[0]) U : U*) && is(U == function) || is(typeof(&X[0]) U == delegate)
)
enum
isFunction
;
static if
(!(
is(typeof(&X[0]) U : U*) && is(U == function) || is(typeof(&X[0]) U == delegate)
))
static if
(
is(X[0] T)
)
enum
isFunction
;
static if
(!(
is(typeof(&X[0]) U : U*) && is(U == function) || is(typeof(&X[0]) U == delegate)
))
static if
(!(
is(X[0] T)
))
enum
isFunction
;
}
Members
Manifest constants
isFunction
enum
isFunction
;
Undocumented in source.
isFunction
enum
isFunction
;
Undocumented in source.
isFunction
enum
isFunction
;
Undocumented in source.
Meta
Source
See Implementation
hip
util
reflection
aliases
Parameters
enums
hasModule
hasType
functions
ForwardFunc
GenerateGetterSettersInterfaceImpl
attributes
enumLength
isMethodImplemented
isTypeArrayOf
mixin templates
ForwardInterface2
GenerateGettersSettersInterface
GenerateRuntimeAccessors
HipExportDFunctions
HipExportDFunctionsImpl
structs
ExportD
Version
templates
generateExportConstructor
generateExportFunc
generateExportName
getParams
getUDAs
hasMethod
hasOverload
hasUDA
isDynamicArray
isEnum
isFunction
isNumeric
isReference
variables
isArray
isPointer
Copy pasted from std.traits for not importing too many things